package com.lds.register.center.client.common.model.request;

import com.lds.management.center.common.model.pojo.BaseObject;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class RegisterAppInstanceRequest extends BaseObject {
    private String envName = "DEV";
    private String clusterName = "DEFAULT";
    @NotBlank(message = "appName不能为空")
    private String appName;
    private String appInstanceIp = "127.0.0.1";
    private int appInstancePort = 8080;
    private boolean ephemeral =  true;
    private int weight = 1;
}
